projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5097c1d
)
x11: Update surface size for popups too
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 14 Mar 2020 01:33:23 +0000
(21:33 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 14 Mar 2020 01:33:23 +0000
(21:33 -0400)
Without this, the back buffers of the wrong size
keep being used, causing flickery misdraws, as
seen when expanding the expander in the popover
in widget-factory.
gdk/x11/gdksurface-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdksurface-x11.c
b/gdk/x11/gdksurface-x11.c
index b9e122a91a4cf4cf647b79d90d92098017742e42..9a1b71698e80c8a40c6468e89386e969d3332da3 100644
(file)
--- a/
gdk/x11/gdksurface-x11.c
+++ b/
gdk/x11/gdksurface-x11.c
@@
-1319,6
+1319,7
@@
x11_surface_resize (GdkSurface *surface,
impl->unscaled_height = height * impl->surface_scale;
surface->width = width;
surface->height = height;
+ _gdk_surface_update_size (surface);
_gdk_x11_surface_update_size (GDK_X11_SURFACE (surface));
}
else